import { Entity, Column } from 'typeorm'
import { BaseEntity } from '../global'

@Entity('project_company')
export class ProjectCompany extends BaseEntity {
    @Column({ length: 32, comment: '项目ID' })
    projectid: string

    @Column({ length: 32, comment: '企业ID' })
    companyid: string

    @Column('int', { comment: '参与类型，0生产者1使用者' })
    type: number
}
